package ioc

import (
	"go.uber.org/zap"
	"webook/pkg/logx"
)

// InitUserZap 提供user模块的日志对象
func InitUserZap() logx.LoggerX {
	logger, err := zap.NewDevelopment()
	if err != nil {
		panic(err)
	}
	return logx.NewZapLogger(logger)
}
